package com.example.iread.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.iread.bean.BookBean;
import com.example.iread.bean.SearchHistoryBean;
import com.example.iread.bean.UserBean;
import com.example.iread.dao.BookDao;
import com.example.iread.dao.SearchHistoryDao;
import com.example.iread.dao.UserDao;

@Database(entities = {UserBean.class, BookBean.class, SearchHistoryBean.class}, version = 1)
public abstract class IReadDb extends RoomDatabase {

    public abstract UserDao userDao();

    public abstract BookDao bookDao();

    public abstract SearchHistoryDao searchHistoryDao();

}
